package cn.zd.erp.auth.emp.service.ebo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.zd.erp.auth.emp.dao.dao.EmpDao;
import cn.zd.erp.auth.emp.service.ebi.EmpEbi;
import cn.zd.erp.auth.emp.vo.EmpModel;

@Service
public class EmpEbo implements EmpEbi {
	@Autowired
	private EmpDao empDao;
	@Override
	public EmpModel login(String userName, String pwd) {
		System.out.println(userName+"ebo");
		return empDao.getByUserNameAndPwd(userName,pwd);
	}
	
}
